FROM harbor.csthink.me/kubernetes/openjdk:17

COPY k8s-spring-boot-demo-1.0.jar /k8s-spring-boot-demo-1.0.jar

ENTRYPOINT ["java", "-jar", "-Xms1g", "-Xmx2g", "-Xss256k", "/k8s-spring-boot-demo-1.0.jar"]